package com.ruoyi.common.core.domain.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wux
 * @date 2023/5/11 11:15
 */
@Data
public class LoginDTO {
    @ApiModelProperty("账号")
    @NotBlank
    private String username;
    @ApiModelProperty("密码")
    @NotBlank
    private String password;
    @ApiModelProperty("验证码")
    private String code;
    @ApiModelProperty("uuid")
    private String uuid = "";
    @ApiModelProperty("登录渠道 1运营端  2客户端")
    private Integer channel;
}
